html, body {
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

html, body, form, input, div, ul, li, ol, section, a, aside, button, br, canvas, header, footer, iframe, label, span, nav, option, select, p, pre, table, td, th, video, textarea, h1, h2, h3, h4, h5, h6, em, img {
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  background: #FFF;
}

body {
  position: relative;
  font: 14px "Microsoft YaHei", "微软雅黑", "Lucida Grande", Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -o-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;

  // max-width: 10rem;
  // margin: 0 auto;
}

html, body {
  width: 100%;
  height: 100%;
  color: #444;
  background-color: #f7f7f8;
}

a {
  color: #444;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

a:link {
  text-decoration:none;
}

a:visited {
  text-decoration:none;
}

a:hover {
}

a:active {
}

::selection {
  background-color: #0088cc;
  color: #FFFFFF;
}

input {
  outline: medium;
  // -webkit-appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"]{
  -moz-appearance: textfield;
}

li {
  list-style: none;
}

textarea,input {
  word-wrap:break-word;
  word-break:break-all;
  background: transparent;
}

img[src=""] {
  opacity: 0;
}

img {
  border:0;
  vertical-align:middle;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

p {
  word-wrap:break-word;
}

pre {
  font-family: "Microsoft YaHei", "Lucida Grande", Helvetica, Arial, sans-serif;
}

::-webkit-input-placeholder {
  color: #999; 
} 
:-moz-placeholder {
  color: #999; 
} 
::-moz-placeholder {
  color: #999; 
} 
:-ms-input-placeholder {
  color: #999; 
} 

.clearfix {
  overflow: hidden;
}

.clearfix:after, 
.clearfix:before {
  display: table;
  content: "";
}

input,
textarea,
select,
button {
  -webkit-appearance: none;
  outline: none;
  border-radius: 0;
}

input::-ms-clear {
  display: none;
}

input:focus, textarea:focus {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-modify: read-write-plaintext-only;
}

/*loading*/
.loader {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
}

.loader .dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  animation: 1.7s dotrotate cubic-bezier(0.775, 0.005, 0.310, 1.000) infinite;
}

.loader .dot:nth-child(1) {
  animation-delay: 0.2s;
}

.loader .dot:nth-child(2) {
  animation-delay: 0.35s;
}

.loader .dot:nth-child(3) {
  animation-delay: 0.45s;
}

.loader .dot:nth-child(4) {
  animation-delay: 0.55s;
}

.loader .dot:after, .loader .dot .first {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #b6b6b6;
  border-radius: 50%;
  left: 50%;
  margin-left: -4px;
}

.loader .dot .first {
  background: #b6b6b6;
  margin-top: -4px;
  animation: 1.7s dotscale cubic-bezier(0.775, 0.005, 0.310, 1.000) infinite;
  animation-delay: 0.2s;
}

@keyframes dotrotate { 
  from { transform: rotate(0deg); } 
  to { transform: rotate(360deg); }
}

@keyframes dotscale { 
  0%, 10% { width: 16px; height: 16px; margin-left: -8px;  margin-top: -4px; } 
  50% { width: 8px; height: 8px; margin-left: -4px; margin-top: 0; }
  90%, 100% { width: 16px; height: 16px;  margin-left: -8px;  margin-top: -4px; }
}
/*loading end*/